import React,{Component} from 'react';
import {Card} from 'antd';
export default class PublicCard extends Component{
	render(){
		let data = this.props.data;
		return (
			<div className="wrap">
				{data.map((item,index) => (
						<Card type="inner"
						key={index}
						title={item.title}
						loading={false}
					>
						<div dangerouslySetInnerHTML={{__html:item.content}}></div>
	
					</Card>
				))}
				
			</div>
		)
	}
}